package com.evil.application.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.evil.application.pojo.entity.GenerateSn;

import java.util.Optional;

/**
 * 序列号生成表
 *
 * @author liyang
 * @date 2022-08-08 00:00
 */
public interface GenerateSnMapper extends BaseMapper<GenerateSn> {

    int updateByType(String type);

    Optional<GenerateSn> findByType(String type);
}